﻿<Window x:Class="Brite.Controls.MessageBoxEx"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        WindowStartupLocation="CenterOwner" ShowInTaskbar="False"
        MaxWidth="800" SizeToContent="WidthAndHeight" SnapsToDevicePixels="True" ResizeMode="NoResize"
        Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" TextOptions.TextFormattingMode="Display">
    <DockPanel Margin="12">
        <StackPanel Name="buttonsPanel" DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Center" Margin="0, 16, 0, 0" />
        <Image Name="image" DockPanel.Dock="Left" Stretch="None" Margin="0, 0, 16, 0" VerticalAlignment="Top" Visibility="Collapsed" />
        <StackPanel Orientation="Horizontal" DockPanel.Dock="Bottom">
            <CheckBox Name="optionCheck" Visibility="Collapsed" Margin="0, 12, 0, 0">
                <Label Name="optionText" Padding="0" Margin="3, 0, 0, 0" />
            </CheckBox>
        </StackPanel>
        <TextBlock Name="message" TextWrapping="Wrap" VerticalAlignment="Center" />
    </DockPanel>
</Window>
